package com.schedualnew.mq.dto.esb.receive;


import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;
import com.schedualnew.mq.dto.esb.AccessControl;
import com.schedualnew.mq.dto.esb.MessageHeader;
import com.schedualnew.mq.dto.esb.MsgInfo;
import lombok.Data;

@Data
@JacksonXmlRootElement(localName = "ESBEntry")
public class ReceiveESBEntry {

    @JacksonXmlProperty(localName = "AccessControl")
    public AccessControl accessControl;

    @JacksonXmlProperty(localName = "MessageHeader")
    public ReceiveMessageHeader messageHeader;

    @JacksonXmlProperty(localName = "MsgInfo")
    public ReceiveMsgInfo msgInfo;

    @JacksonXmlProperty(localName = "Edition")
    private String edition;
}
